import java.util.LinkedList;


public class TestAll11 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		Set set = new Set<Integer>();
		for (int i = 0; i < 5; i++) {
			System.out.println(set.add(i));
		}
		
		for (int i = 0; i < 10; i++) {
			System.out.println(set.add(i));
		}
		
		for (int i = 3; i < 6; i++) {
			System.out.println(set.remove(i));
		}
		
		for (int i = 8; i < 13; i++) {
			System.out.println(set.remove(i));
		}
		
	}

}
